import { defineStore } from "pinia"

interface IChatStore {
  showText: any[]
}

const useChatStore = defineStore("Chat", {
  state: (): IChatStore => ({
    showText: []
  }),
  actions: {
    setText(message) {
      this.showText.push(message)
    }
  },
  getters: {}
})

export default useChatStore
